package com.wicket.okrcalc.biz.service.dto.common;

import com.wicket.okrcalc.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc AchievementDockingDto
 * @使用场景
 */
@Data
public class AchievementDockingDto extends BaseDto implements Serializable {

  /**
   * 关联成果ID
   */
  @ApiModelProperty("关联成果ID")
  private String achievementId;

  /**
   * 成果类型ID
   */
  @ApiModelProperty("成果类型ID")
  private String achievementTypeId;

  /**
   * 成果等级ID
   */
  @ApiModelProperty("成果等级ID")
  private String achievementGradeId;
/**
     * 成果类型名称 
     */
    @ApiModelProperty("成果类型名称")
    private String	 achievementTypeName;

    /**
     * 成果等级名称 
     */
    @ApiModelProperty("成果等级名称")
    private String	 achievementGradeName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      AchievementDockingDto that = (AchievementDockingDto) o;
      return  achievementId == that.achievementId&&achievementTypeId == that.achievementTypeId&&achievementGradeId == that.achievementGradeId&&achievementTypeName == that.achievementTypeName&&achievementGradeName == that.achievementGradeName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), achievementId,achievementTypeId,achievementGradeId,achievementTypeName,achievementGradeName);
    }

}
